st<template>
	<view>




		<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 1506.3 578.7"
			class="injected-svg svg-inject">
			<path style="fill: #510FA8 ;"
				d="M 147.269 295.566 C 147.914 293.9 149.399 292.705 151.164 292.431 L 167.694 289.863 C 169.459 289.588 171.236 290.277 172.356 291.668 L 182.845 304.699 C 183.965 306.091 184.258 307.974 183.613 309.64 L 177.572 325.239 C 176.927 326.905 175.442 328.1 173.677 328.375 L 157.147 330.943 C 155.382 331.217 153.605 330.529 152.485 329.137 L 141.996 316.106 C 140.876 314.714 140.583 312.831 141.228 311.165 L 147.269 295.566 Z">
			</path>
			<path style="fill: #FFD700 ;"
				d="M 92.927 474.881 C 93.309 473.896 94.187 473.19 95.23 473.028 L 105.002 471.51 C 106.045 471.347 107.096 471.754 107.758 472.577 L 113.959 480.28 C 114.621 481.103 114.794 482.216 114.413 483.201 L 110.841 492.423 C 110.46 493.408 109.582 494.114 108.539 494.277 L 98.767 495.795 C 97.723 495.957 96.673 495.55 96.011 494.727 L 89.81 487.024 C 89.148 486.201 88.975 485.088 89.356 484.103 L 92.927 474.881 Z">
			</path>
			<path style="fill: #FF69B4 ;"
				d="M 34.176 36.897 C 34.821 35.231 36.306 34.036 38.071 33.762 L 54.601 31.194 C 56.366 30.919 58.143 31.608 59.263 32.999 L 69.752 46.03 C 70.872 47.422 71.165 49.305 70.52 50.971 L 64.479 66.57 C 63.834 68.236 62.349 69.431 60.584 69.706 L 44.054 72.274 C 42.289 72.548 40.512 71.86 39.392 70.468 L 28.903 57.437 C 27.783 56.045 27.49 54.162 28.135 52.496 L 34.176 36.897 Z">
			</path>
			<path style="fill: #BA55D3 ;"
				d="M 975.636 9.762 C 976.101 8.561 977.171 7.7 978.443 7.502 L 990.354 5.652 C 991.626 5.454 992.907 5.95 993.714 6.953 L 1001.272 16.343 C 1002.079 17.346 1002.29 18.703 1001.826 19.903 L 997.472 31.144 C 997.008 32.344 995.938 33.205 994.666 33.403 L 982.754 35.254 C 981.483 35.451 980.202 34.956 979.395 33.953 L 971.837 24.563 C 971.03 23.559 970.818 22.203 971.283 21.002 L 975.636 9.762 Z">
			</path>
			<path style="fill: #00BFFF ;"
				d="M 1417.759 409.863 C 1418.404 408.197 1419.889 407.002 1421.654 406.728 L 1438.184 404.16 C 1439.949 403.885 1441.726 404.574 1442.846 405.965 L 1453.335 418.996 C 1454.455 420.388 1454.748 422.271 1454.103 423.937 L 1448.062 439.536 C 1447.417 441.202 1445.932 442.397 1444.167 442.672 L 1427.637 445.24 C 1425.872 445.514 1424.095 444.826 1422.975 443.434 L 1412.486 430.403 C 1411.366 429.011 1411.073 427.128 1411.718 425.462 L 1417.759 409.863 Z">
			</path>
			<path style="fill: #32CD32 ;"
				d="M 1313.903 202.809 C 1314.266 201.873 1315.1 201.201 1316.092 201.047 L 1325.381 199.604 C 1326.373 199.449 1327.372 199.837 1328.001 200.618 L 1333.895 207.941 C 1334.525 208.723 1334.689 209.782 1334.327 210.718 L 1330.932 219.484 C 1330.57 220.42 1329.735 221.092 1328.743 221.246 L 1319.454 222.689 C 1318.462 222.843 1317.464 222.457 1316.834 221.674 L 1310.94 214.351 C 1310.31 213.569 1310.146 212.511 1310.508 211.575 L 1313.903 202.809 Z">
			</path>
			<path style="fill: #FFA07A ;"
				d="M 1084.395 506.137 C 1084.908 504.812 1086.09 503.861 1087.494 503.643 L 1100.645 501.6 C 1102.049 501.381 1103.463 501.929 1104.354 503.036 L 1112.699 513.403 C 1113.59 514.51 1113.823 516.009 1113.31 517.334 L 1108.504 529.744 C 1107.99 531.07 1106.809 532.02 1105.405 532.239 L 1092.254 534.282 C 1090.85 534.5 1089.436 533.953 1088.545 532.845 L 1080.2 522.478 C 1079.309 521.371 1079.076 519.873 1079.589 518.547 L 1084.395 506.137 Z">
			</path>
		</svg>


		<view class="banmi_flex j-c a-c body-login">


			<div class="banmi_flex j-c">

				<div v-if="!mobile" class="p-20 banmi_flex a-c ">
					<div class="login-svg">
						<svg viewBox="0 0 400 300" fill="none" xmlns="http://www.w3.org/2000/svg">
							<path d="M303.627 69.454h-58.09v73.777h58.09V69.454Z" fill="#D2E9FE" />
							<path d="M310.996 142.665h-70.187v4.597h70.187v-4.597Z" fill="#93B9FF" />
							<path d="M152.929 169.451H90.558l-8.734-38.718h62.377l8.728 38.718Z" stroke="#2C60FF"
								stroke-width=".722" stroke-miterlimit="10" />
							<path
								d="m112.747 163.761-5.62 25.232h15.11l5.625-25.232h-15.115Zm6.347 14.423c-.376 1.825-1.745 3.194-3.063 3.053-1.319-.14-2.081-1.734-1.705-3.559.376-1.825 1.745-3.194 3.063-3.053 1.319.14 2.081 1.724 1.705 3.549v.01Z"
								fill="#93B9FF" />
							<path
								d="M163.277 175.673c.501 1.855-1.268 4.441-2.507 5.269-1.238.827-2.722 1.228-4.156 1.674a58.819 58.819 0 0 0-9.761 4.046c-.466.246-1.003.581-1.028 1.108-.045.621.617 1.048 1.209 1.238 1.86.587 3.865.306 5.79 0l7.796-1.158a4.454 4.454 0 0 0-1.579.852.867.867 0 0 0-.106 1.214c.246.225 1.103-.086 1.439-.121a13.624 13.624 0 0 0 7.194-3.108c.416-.297.75-.694.973-1.153.416-1.028-.221-2.146-.637-3.179-.707-1.769 1.745-3.133 2.372-4.933l-6.999-1.749Z"
								fill="#AABCFF" />
							<path
								d="m248.435 182.355-4.111 1.635a48.733 48.733 0 0 1-9.18 2.627l-5.605 1.002-3.414-7.419 22.31 2.155ZM178.267 156.186l-4.432 32.973 52.545.315-28.581-36.998-15.552-17.271-3.98 20.981Z"
								fill="#2C60FF" />
							<path
								d="M191.608 96.326s-1.925 12.122 9.074 9.37l-3.008 7.675-13.265.878-.126-5.605s1.951-2.647-1.579-5.67l8.904-6.648Z"
								fill="#AABCFF" />
							<path
								d="M182.403 139.852c2.682-12.859 3.654-24.26 1.905-31.208 0 0-13.932 7.851-15.005 13.421-.943 4.883-7.52 42.363-9.094 51.502a3.005 3.005 0 0 0 1.378 3.078l12.819 7.916s1.399-7.765 3.861-21.557"
								fill="#398CFF" />
							<path
								d="M175.51 93.488s5.314 13.787 12.072 10.659c7.821-3.62 4.818-12.935.557-20.675l-13.612 6.918.983 3.098Z"
								fill="#AABCFF" />
							<path
								d="M177.22 97.083a27.875 27.875 0 0 0 2.125 3.349c.318-.116.581-.347.737-.647.406-.812-.14-1.905-1.218-2.446a2.581 2.581 0 0 0-1.644-.256Z"
								fill="#2C60FF" />
							<path
								d="M192.17 93.85c-.115 0-.456-.141-.456-.141l-.968-4.552 1.143-.767a1.66 1.66 0 0 1 2.226.526c1.379 1.955.331 5.24-1.945 4.933Z"
								fill="#AABCFF" />
							<path
								d="M193.859 90.26s-1.278.27-1.113 1.474M193.604 91.744a.51.51 0 0 0 .083-.398.493.493 0 0 0-.239-.33"
								stroke="#070627" stroke-width=".125" stroke-miterlimit="10" stroke-linecap="round" />
							<path
								d="M189.27 96.287c.541-1.08.324-2.283-.485-2.69-.809-.405-1.904.14-2.446 1.22-.541 1.079-.324 2.282.486 2.688.809.406 1.904-.14 2.445-1.218Z"
								fill="#2C60FF" />
							<path
								d="M187.522 82.354s.416-1.745-2.14-2.858c-2.557-1.113-10.564.075-12.504 7.786-.421 1.69.256 3.91 1.048 5.745.932 2.156 2.978 3.785 3.289 4.036a3.273 3.273 0 0 0-1.224-2.176s3.48 0 5.164-2.547c1.685-2.547 4.582-5.199 6.518-3.218 1.935 1.98 3.153 2.792 4.286 2.907a7.105 7.105 0 0 1 .161-3.083c.636-2.797.431-6.332-2.046-7.354-2.035-.833-2.552.762-2.552.762Z"
								fill="#1E294A" />
							<path
								d="M182.037 94.697c.202 1.348.5 2.68.892 3.985.126.416.321.918.783 1.043a.671.671 0 0 0 .842-.366c.04-.115-.146-.165-.186-.05a.455.455 0 0 1-.501.255.751.751 0 0 1-.531-.395 5.547 5.547 0 0 1-.462-1.414 31.053 31.053 0 0 1-.646-3.109c0-.12-.201-.07-.181.05h-.01Z"
								fill="#1E294A" />
							<path
								d="m200.497 105.761 10.909 51.352c-4.397 4.302-16.67 3.885-16.67 3.885s-6.808-8.883-9.58-15.877c-1.189-3.008-3.65-7.936-3.65-7.936l2.827-25.062c10.744 4.592 13.035-6.016 13.035-6.016a20.452 20.452 0 0 0 3.129-.376"
								fill="#D2E9FE" />
							<path d="M190.089 150.796s-3.87.652-2.572 2.061c1.61 1.749 3.109.371 3.109.371l-.537-2.432Z"
								fill="#D2E9FE" />
							<path
								d="M239.606 108.614c-.898-2.918 3.008-4.081 4.958-4.848 2.717-1.063 4.682-1.188 5.474 2.186 0-.948 1.068-6.753 3.234-4.828.978.867-.241 4.512-.627 5.459-.711 1.69-1.448 2.101-3.008 3.043-2.627 1.605-6.667 3.404-8.452 5.971-2.005 2.853-1.449 8.789-.837 12.032-1.795-.601-6.067-1.103-7.31-2.446-.842-.918.246-5.189.356-6.267.341-3.369.727-6.743 1.253-10.092.361-2.311.617-4.873 2.592-6.412 1.815-1.414 5.059-2.005 7.179-2.918.577-.25 4.237-2.27 3.284.18-.687 1.781-4.883 3.721-6.382 4.794"
								fill="#EF92C7" />
							<path
								d="M239.606 108.614c-.898-2.918 3.008-4.081 4.958-4.848 2.717-1.063 4.682-1.188 5.474 2.186 0-.948 1.068-6.753 3.234-4.828.978.867-.241 4.512-.627 5.459-.711 1.69-1.448 2.101-3.008 3.043-2.627 1.605-6.667 3.404-8.452 5.971-2.005 2.853-1.449 8.789-.837 12.032-1.795-.601-6.067-1.103-7.31-2.446-.842-.918.246-5.189.356-6.267.341-3.369.727-6.743 1.253-10.092.361-2.311.617-4.873 2.592-6.412 1.815-1.414 5.059-2.005 7.179-2.918.577-.25 4.237-2.27 3.284.18-.687 1.781-4.883 3.721-6.382 4.794"
								fill="#AABCFF" />
							<path
								d="M189.622 154s-9.024 26.571-20.95 67.545c-5.169 12.599-9.701 30.677-9.701 30.677h31.88s3.008-10.077 6.061-28.957c2.617-16.194 10.678-51.052 10.678-51.052l.422 34.593a200.717 200.717 0 0 0 3.223 35.595l1.394 9.786h32.637s-3.655-18.109-5.796-29.008c-2.336-11.901-12.092-56.651-12.092-56.651l-16.043-18.414L189.622 154Z"
								fill="#1E294A" />
							<path
								d="M188.81 155.439a.87.87 0 0 1-.726-1.367.868.868 0 0 1 .511-.353l17.932-4.562a.875.875 0 0 1 .432 1.694l-17.933 4.563a1.117 1.117 0 0 1-.216.025Z"
								fill="#FF3F08" />
							<path
								d="m193.547 152.102-.728.191.625 2.376.728-.191-.625-2.376ZM191.922 152.483l-.728.191.625 2.376.728-.191-.625-2.376Z"
								fill="#fff" />
							<path
								d="M200.486 105.741s7.52.667 10.753 2.005c4.808 2.006 19.743 22.425 20.62 24.867l-.601-10.338a.24.24 0 0 1 .346-.225l11.425 5.715a1.496 1.496 0 0 1 .812 1.133c.537 4.01 2.833 21.983.838 24.931-2.246 3.319-9.375.196-13.577-2.346 0 0-1.067 4.397 9.706 17.311 3.966 4.753 7.626 13.536 7.626 13.536s-19.091 2.251-30.762 2.106c0 0-11.717-35.159-17.236-59.915-1.063-11.796-.442-16.91.05-18.78Z"
								fill="#398CFF" />
							<path
								d="m203.469 120.144 2.808-6.061a.947.947 0 0 0-.095-.957c-.958-1.299-3.791-5.109-5.57-7.29a.16.16 0 0 0-.281.06c-.501 1.966-1.063 7.124 0 18.67.767 6.172 3.354 15.256 5.971 22.716.145-5.194.772-19.833 1.168-24.27a1.83 1.83 0 0 0-1.339-1.935l-2.541-.712a.159.159 0 0 1-.136-.15c0-.024.005-.048.015-.071Z"
								fill="#fff" />
							<path
								d="M193.092 114.529c-4.176 1.89-8.618-.235-8.663-.26l-.111.225a12.64 12.64 0 0 0 5.014 1.068 9.364 9.364 0 0 0 3.885-.802c2.973-1.344 5.114-4.306 6.372-8.803l-.271.04c-1.258 4.361-3.349 7.234-6.226 8.532ZM199.583 105.911v-.05l-.271.04v.051l.271-.041Z"
								fill="#398CFF" />
							<path d="m199.298 105.997.271-.04v-.046l-.271.041v.045Z" fill="#398CFF" />
							<path
								d="M235.53 112.379a6.277 6.277 0 0 1 1.73-2.718c.46-.35.993-.593 1.559-.711.677-.161 1.353-.306 2.03-.457.186-.045.106-.326-.08-.285-.722.165-1.449.31-2.166.501a3.871 3.871 0 0 0-1.549.752 6.516 6.516 0 0 0-1.805 2.848c-.07.175.216.25.281.075v-.005Z"
								fill="#000" />
							<path
								d="m231.534 109.426-1.444 1.504a.266.266 0 0 0-.062.131.258.258 0 0 0 .253.295h2.151l21.116-9.781a1.056 1.056 0 0 0 .501-1.394l-.035-.08a1.044 1.044 0 0 0-1.393-.501l-21.087 9.826Z"
								fill="#1E294A" />
							<path
								d="m184.334 108.644-6.518 6.703a1.568 1.568 0 0 0-.446 1.013c-.022.381.096.757.331 1.057l3.94 5.064-4.667 3.384a1.964 1.964 0 0 0-.787 1.935l3.986 23.563c3.594-15.346 6.331-33.981 4.161-42.719Z"
								fill="#fff" />
							<path
								d="M239.606 108.614c-.878-3.104 3.008-4.081 4.958-4.848 2.717-1.063 4.682-1.188 5.475 2.186 0-.948 1.067-6.754 3.233-4.828.978.867-.24 4.512-.627 5.459-.711 1.69-1.448 2.101-3.008 3.043-2.627 1.605-6.667 3.404-8.452 5.971-2.005 2.853-7.901 4.397-7.791 3.319"
								fill="#AABCFF" />
							<path
								d="M166.751 90.45h-33.238a1.424 1.424 0 0 0-1.424 1.424v17.547a1.435 1.435 0 0 0 .417 1.007 1.418 1.418 0 0 0 1.007.417h3.293v4.592l4.593-4.592h25.352a1.424 1.424 0 0 0 1.424-1.424V91.874a1.424 1.424 0 0 0-1.424-1.424Z"
								fill="#D2E9FE" />
							<path
								d="M144.728 104.102a3.56 3.56 0 0 1-2.426-1.111 3.56 3.56 0 0 1 2.491-6.013h.06v-2.251h-.06a5.817 5.817 0 1 0-.065 11.636h.065v-2.251l-.065-.01Z"
								fill="#93B9FF" />
							<path
								d="M144.868 94.742v2.25a3.56 3.56 0 0 1 3.469 3.51h2.246a5.803 5.803 0 0 0-5.715-5.76Z"
								fill="#FF3F08" />
							<path d="M153.691 101.455h8.127M153.691 103.706h8.127M153.691 105.957h8.127" stroke="#fff"
								stroke-width=".752" stroke-miterlimit="10" stroke-linecap="round" />
							<path
								d="M148.107 66.31h-42.934a1.84 1.84 0 0 0-1.84 1.84v22.676a1.84 1.84 0 0 0 1.84 1.84h4.256v5.92l5.931-5.93h32.747a1.84 1.84 0 0 0 1.84-1.84V68.151a1.842 1.842 0 0 0-1.84-1.84Z"
								stroke="#04042B" stroke-width=".627" stroke-miterlimit="10" />
							<path
								d="M116.528 83.958a4.603 4.603 0 0 1 .08-9.205h.08l.03-2.907h-.065a7.52 7.52 0 0 0-.13 15.015h.08v-2.903h-.075Z"
								fill="#1E294A" />
							<path
								d="M121.165 79.275v.12a4.606 4.606 0 0 1-4.562 4.563v2.903a7.52 7.52 0 0 0 7.52-7.44v-.146h-2.958Z"
								fill="#D2E9FE" />
							<path
								d="m116.718 71.85-.03 2.908a4.601 4.601 0 0 1 4.481 4.512h2.903a7.517 7.517 0 0 0-7.354-7.42Z"
								fill="#93B9FF" />
							<path d="M131.236 78.313h10.498M131.236 81.216h10.498M126.865 84.123h15.08" stroke="#1E294A"
								stroke-width=".567" stroke-miterlimit="10" stroke-linecap="round" />
							<path
								d="M86.939 104.969H60.147A1.149 1.149 0 0 0 59 106.107v14.148a1.144 1.144 0 0 0 1.148 1.148h17.587l3.264 3.253v-3.263h5.94a1.149 1.149 0 0 0 1.139-1.128v-14.158a1.15 1.15 0 0 0-1.138-1.138Z"
								fill="#2C60FF" />
							<path d="M76.41 110.739h3.299M76.41 112.554h6.553M76.41 114.369h6.553" stroke="#fff"
								stroke-width=".607" stroke-miterlimit="10" stroke-linecap="round" />
							<path
								d="M160.741 180.942c-1.253.827-2.722 1.228-4.156 1.674a58.783 58.783 0 0 0-9.761 4.046c-.466.246-1.003.581-1.028 1.108-.045.621.617 1.048 1.208 1.238 1.86.587 3.866.306 5.791 0l7.796-1.158a4.458 4.458 0 0 0-1.58.852.87.87 0 0 0-.105 1.214c.246.225 1.103-.086 1.439-.121a13.624 13.624 0 0 0 7.194-3.108c.415-.297.75-.694.973-1.153.416-1.028-.221-2.146-.637-3.179-.707-1.749-5.886-2.241-7.134-1.413Z"
								fill="#AABCFF" />
							<path d="M66.028 115.968a3.494 3.494 0 1 0 0-6.988 3.494 3.494 0 0 0 0 6.988Z"
								fill="#FF3F08" />
							<path d="M70.485 116.094a3.495 3.495 0 1 0-.001-6.99 3.495 3.495 0 0 0 0 6.99Z"
								fill="#AABCFF" />
							<path
								d="M323.574 160.763c.895-.342 1.405-1.181 1.14-1.874-.264-.693-1.205-.978-2.099-.636-.895.342-1.406 1.181-1.141 1.874.265.693 1.205.978 2.1.636Z"
								stroke="#93B9FF" stroke-width=".632" stroke-miterlimit="10" />
							<path d="M289.604 226.794h25.368l-3.053 25.368h-19.261l-3.054-25.368Z" fill="#398CFF" />
							<path d="M314.972 226.794h-25.368l.883 7.314 24.079-3.915.406-3.399Z" fill="#1E294A" />
							<path
								d="M302.454 223.154s5.149-27.152 9.746-31.328c.166-.151-.932-1.214-.857-1.424 7.019-19.517 18.439-40.679 35.093-41.556 16.911-.892-2.506 20.429-18.374 32.537-.155.12 2.833-.777 2.713-.622-11.892 15.662-24.29 29.584-28.321 42.393ZM302.369 223.991s-25.473-35.524-17.547-36.562c7.926-1.038 17.547 36.562 17.547 36.562Z"
								fill="#93B9FF" />
							<path d="M338.109 119.543s-39.902 60.581-35.726 103.616" stroke="#93B9FF"
								stroke-width="1.053" stroke-miterlimit="10" stroke-linecap="round" />
							<path
								d="M311.202 173.828a.24.24 0 0 1-.172.275.236.236 0 0 1-.173-.016.246.246 0 0 1-.117-.129c-2.18-4.718-6.622-16.604.642-22.585 8.543-7.029-1.609 12.333-.18 22.455ZM307.651 182.217c.904-1.049.537-2.846-.818-4.013-1.355-1.167-3.186-1.263-4.09-.214-.903 1.049-.537 2.845.818 4.013 1.355 1.167 3.187 1.263 4.09.214ZM302.357 223.646s-10.528-19.192-29.543-13.141c-19.016 6.052 22.951 8.298 29.543 13.141Z"
								fill="#93B9FF" />
							<path
								d="M302.469 223.159s22.791-23.919 24.064-17.441c2.316 12.067-24.064 17.441-24.064 17.441Z"
								stroke="#93B9FF" stroke-width="1.053" stroke-miterlimit="10" />
							<path
								d="M316.952 222.673h-29.213a.827.827 0 0 0-.827.827v2.472c0 .457.37.827.827.827h29.213c.457 0 .827-.37.827-.827V223.5a.827.827 0 0 0-.827-.827Z"
								fill="#398CFF" />
							<path d="M160.605 187.9a27.557 27.557 0 0 0 2.457-1.384M231.83 132.618s.256 6.362.441 9.635"
								stroke="#1E294A" stroke-width=".221" stroke-miterlimit="10" stroke-linecap="round" />
							<path
								d="m264.046 253.084-8.182-47.993c-.311-1.795-2.161-3.153-4.307-3.153H100.725c-2.146 0-4.01 1.358-4.302 3.153l-8.186 47.993-11.11-.586 8.523-49.227a14.482 14.482 0 0 1 5.309-8.878 15.763 15.763 0 0 1 9.776-3.374h150.852a15.747 15.747 0 0 1 9.776 3.374 14.49 14.49 0 0 1 5.315 8.878l8.161 48.911-10.793.902Z"
								fill="#D2E9FE" />
							<path
								d="m130.364 201.256-5.52 51.242H87.209l7.766-44.77a7.367 7.367 0 0 1 7.52-6.382l27.869-.09Z"
								fill="#93B9FF" />
							<path d="M338.91 252.477H64.277" stroke="#1E294A" stroke-width=".948" stroke-miterlimit="10"
								stroke-linecap="round" />
							<path
								d="M262.071 188.993H90.448a3.32 3.32 0 0 0-2.341.971 3.311 3.311 0 0 0-.967 2.343h178.24a3.303 3.303 0 0 0-2.041-3.062 3.323 3.323 0 0 0-1.268-.252Z"
								fill="#1E294A" />
						</svg>
					</div>
				</div>



				<div class="p-20 banmi_flex a-c j-c login-acc">
					<div class="login-acc-div">
						<div class="p-b-20 p-b-10">
							<div class="f-w-800   login-title">{{admin_title}}后台登录</div>
						</div>
						<div class="p-b-20">
							<div class="p-b-20">
								账号
							</div>
							<div>
								<input class="form_login_i" v-model="account" type="text" placeholder="请输入管理员账号"
									confirm-type="search" @confirm="on_login" />
							</div>
						</div>
						<div class="p-b-20">
							<div class="p-b-20">
								密码
							</div>
							<div>
								<input class="form_login_i" v-model="password" type="password" placeholder="请输入管理员密码"
									confirm-type="search" @confirm="on_login" />

							</div>
						</div>

						<div class="p-b-20 banmi_flex a-c">
							<div style="flex:1">
								<input class="form_login_i" v-model="v_code" type="text" placeholder="请输入验证码"
									confirm-type="search" @confirm="on_login" />
							</div>
							<div class="m-l-10">
								<image @click="on_code" class="login-qr-img" :src="code">
								</image>
							</div>
						</div>
						<view @click="on_pass" class="banmi_flex a-c f-14 p-b-20">
							<span style="color: #A9A9A9;">记住账号密码</span>
							<view class="login_pass">
								<text v-if="is_pass_select">✓</text>
							</view>
						</view>

						<div class="p-b-20">
							<button class="login_but" @click="on_login">登录</button>
						</div>

					</div>

				</div>


			</div>


		</view>
	</view>
</template>

<script>
	import $C from '@/common/banmi/config.js';

	function getCaption(obj, state) {
		var index = obj.lastIndexOf("#/");
		if (state == 0) {
			obj = obj.substring(0, index);
		} else {
			obj = obj.substring(index + 1, obj.length);
		}
		return obj;
	}
	export default {
		data() {
			return {
				code: '',
				v_code: '',
				password: '',
				account: '',
				v_aat: '',
				is_pass_select: false,
				admin_title: '',
				mobile: ''
			}
		},
		onLoad() {


			if (navigator.userAgent.indexOf('Mobile') > -1) {
				this.mobile = true;
			} else {
				this.mobile = false;
			}

			this.is_pass_select = uni.getStorageSync('is_pass_select');
			if (this.is_pass_select) {
				this.account = uni.getStorageSync('admin_account');
				this.password = uni.getStorageSync('admin_password');
			}
			this.init();
			this.on_code();
		},
		methods: {
			async init() {

				var requestParams = {}
				const ret = await this.Banmikeji.get_info(requestParams);
				this.admin_title = ret.data.title
				uni.setStorageSync('admin_title', ret.data.title);
			},
			on_pass() {
				this.is_pass_select = !this.is_pass_select
				uni.setStorageSync('is_pass_select', this.is_pass_select);
			},
			on_code() {


				this.v_code = '';
				let RandomSixStr = ''
				for (let i = 0; i < 8; i++) {
					RandomSixStr += String(Math.floor(Math.random() * 10))
				}
				let hostname = window.location.hostname
				this.v_aat = RandomSixStr;
				var key = document.getElementById('get_admin').getAttribute("admin_key");
				if (key != '{$admin_key}') {
					var banmi_admin_key = key;
				} else {
					var banmi_admin_key = ADMINKEY;
				}


				this.code = $C.baseUrl + '/admin.login/verify?id=' + RandomSixStr + '&banmi_admin_key=' + banmi_admin_key


			},
			async on_login() {
				if (!this.account) {
					uni.showToast({
						title: '请输入账号',
						icon: 'none'
					})
					return
				}
				if (!this.password) {
					uni.showToast({
						title: '请输入密码',
						icon: 'none'
					})
					return
				}
				if (this.is_pass_select) {
					uni.setStorageSync('admin_account', this.account);
					uni.setStorageSync('admin_password', this.password);
				}
				if (!this.v_code) {
					uni.showToast({
						title: '请输入验证码',
						icon: 'none'
					})
					return
				}
				let requestParams = {
					account: this.account,
					password: this.password,
					v_code: this.v_code,
					id: this.v_aat
				};
				const request = await this.Banmikeji.index_login(requestParams);
				var ret = request;
				if (ret.status == 200) {
					uni.setStorageSync('admin_token', ret.data.token);
					uni.setStorageSync('account', ret.data.account);
					uni.setStorageSync('account_id', ret.data.id);
					uni.setStorageSync('banmi_saas_id', ret.data.saas_id);
					uni.setStorageSync('saas_id', ret.data.saas_id);
					uni.showToast({
						title: ret.msg,
						icon: 'none'
					})
					if (ret.data.saas_id == 0) {
						uni.$emit('banmi_login', {
							title: 1,
							url: '/pages/banmi/admin_info'
						});
						uni.redirectTo({
							url: '/pages/banmi/admin_info?id=1&id=0'
						})
						return
					}
					uni.$emit('banmi_login', {
						title: 1,
						url: '/pages/banmi/statistics/statistics'
					});
					uni.redirectTo({
						url: '/pages/banmi/statistics/statistics?id=1&id=0'
					})
					return
				}
				this.on_code();
				uni.showToast({
					title: ret.msg,
					icon: 'none'
				})
			},
		}
	}
</script>

<style>
	.body-login {
		background-repeat: no-repeat;
		position: absolute;
		overflow: hidden;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 100;
	}

	.login_pass {
		width: 15px;
		height: 15px;
		border: solid 1px #1E90FF;
		margin-left: 2px;
		border-radius: 3px;
		display: flex;
		justify-content: center;
		align-items: center;
		color: #1E90FF;
	}

	.login_but {
		width: 100%;
		background-color: #1E90FF;
		color: #fff;
		margin: 0;
		border-radius: 80px;
		font-size: 16px;
	}

	.form_login_i {
		width: 94%;
		border: solid 1px #ccc;
		border-radius: 5px;
		padding: 10px;
	}

	@media screen and (min-width: 500px) {
		.login-svg {
			width: 500px;

		}

		.login-acc {
			width: 100%;
			background-color: #fff;
			padding-right: 60px;
			border-radius: 5px;
			padding-left: 40px;
		}

		.login-qr-img {
			height: 40px;
			width: 140px;
			border-radius: 2px;
			margin-left: 20px;
		}


		.login-title {
			font-size: 30px;
		}
	}


	@media screen and (min-width: 1300px) {
		.login-svg {
			width: 700px;

		}

		.login-acc {
			width: 100%;
			background-color: #fff;
			height: 500px;
			padding-right: 60px;
			border-radius: 5px;
			padding-left: 40px;
		}

		.login-qr-img {
			height: 40px;
			width: 160px;
			border-radius: 2px;
			margin-left: 20px;
		}


		.login-title {
			font-size: 30px;
		}
	}

	@media screen and (max-width: 500px) {
		.login-acc {
			width: 65%;
			background-color: #fff;
			height: 500px;
			padding-right: 60px;
			border-radius: 5px;
			padding-left: 40px;
		}

		.login-qr-img {
			height: 40px;
			width: 120px;
			border-radius: 2px;
			margin-left: 20px;
		}

		.login-acc-div {
			width: 100%;
		}

		.login-title {
			font-size: 22px;
		}
	}
</style>